package com.fps.web.dao;


import com.fpswork.core.exception.exception.BusinessException;
import com.fpswork.core.model.PageEntity;
import com.fps.web.model.BaseUser;
/**
 * 用户管理
 */
public interface BaseUserDao {

	/**
	 * 根据名字获取用户
	 */
	public BaseUser getUserByLoginName(String loginName) throws BusinessException;
	/**
	 * 获取所有用户
	 */
	public PageEntity queryUserList(PageEntity pageEntity)  throws BusinessException;
	/**
	 * 根据主键获取用户
	 */
	public BaseUser queryUserByID(String id)  throws BusinessException;
    /**
	 * 保存用户
	 */
	public BaseUser addUser(BaseUser baseUser)  throws BusinessException;
	
	/**
	 * 删除用户
	 */
	public Boolean deleteUser(BaseUser baseUser)  throws BusinessException;
	

}
